<?php

/**
 * Add new entry to given category
 * @param string $category
 * @param string $value
 * @return string $id
 */
function add_entry($category, $value) {}

/**
 * Get random entry from specified category
 * @param string $category
 * @return Array ('id' => entry_id, 'value' => entry_value)
 */
function get_entry($category) {}

/**
 * Claim for inappropriate entry in specified category
 * @param string $category	- category name
 * @param string $id		- entry id
 * @param string $reason	- what is wrong with this entry
 * @param string $email		- feedback email (we store it untill entry will be moderated)
 */
function claim_entry($category, $id, $reason, $email) {}

///**
// * Check entry in specified category
// * @param string $category
// * @param string $id		- entry id
// * @param string $status	- status after moderation (OK or DEL)
// */
//function check_entry($category, $id, $status) {}

?>
